package com.zfzs.post.modules.quartz.task;

import com.zfzs.post.modules.transaction.service.TransactionWebService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author wq
 * @date 2019/11/28 10:08
 * @description
 */
@Slf4j
@Component
public class BenefitTask {


    @Autowired
    private TransactionWebService transactionWebService;

    public void benefit(){
        transactionWebService.benefitAllTransaction();
    }
}
